package com.example.manage_dzensaas.core.enums;

/**
 * MQ幂等业务枚举
 */
public enum IdempotentBusinessEnum {

    ORDER_BUSINESS_7(7, "自由兑业务"),
    DELETE(-1, "未知");

    private final int code;
    private final String description;

    IdempotentBusinessEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
